package org.mii.safeguard_v1.tools.log4j;

import org.apache.log4j.spi.Filter;
import org.apache.log4j.spi.LoggingEvent;

/**
 * 将要存入数据库中的日志做过滤处理
 * @author QUANXIWEI
 *
 */
public class Log2DBFilter extends Filter {

	@Override
	public int decide(LoggingEvent event) {
		event.getMessage();
		//and do more
		return 0;
	}

}
